\documentclass[cn,11pt, simple]{elegantbook}
%Build with XeLaTeX

\title{网络空间安全数学基础讲义}
\subtitle{Lecture Notes of Essential Mathematics for Cyberspace Security}

\author{李晓峰 (cy\_lxf@163.com)}
\institute{北京联合大学智慧城市学院}
\date{\today}
\version{3.0\\
	课程主页:\url{http://uisu.gitee.io/lxf/}}


\extrainfo{Victory won\rq t come to us unless we go to it. --- M. Moore}

\logo{buusecurity.jpg}
\cover{cover.jpg}

%本文档命令
%\usepackage{appendix}
\usepackage{colortbl} %added by Lixiaofeng for coloring talbe.2019.10.2
\usepackage{makecell}
\usepackage{lipsum}
\usepackage{texnames}
\usepackage{tcolorbox}
\usepackage{ulem} %为了给字符下加波浪线
\usepackage{lscape}
\usepackage{graphicx}%缩放表格

\usepackage[lastexercise,answerdelayed]{exercise} % added by lixiaofeng 2019.12.10

\usepackage{mycmd}

\begin{document}

\maketitle

\frontmatter


\input{chapter/preface.tex}

\tableofcontents

\mainmatter
\hypersetup{pageanchor=true}

\chapter{集合论(set theory)}
	\input{chapter/settheory.tex}
	\section{习题}
	\input{exercise/ex-settheory.tex}
	\input{exercise/ex-relation.tex}
	\input{exercise/ex-function.tex}

\chapter{拓扑学(topology)}	
	\input{chapter/topology.tex}
	
\chapter{组合数学(combinational mathematics)}
	\input{chapter/combinationMath.tex}

\chapter{整除(divisible)}
	\input{chapter/ExactDivision.tex}
	\section{习题}
	\input{exercise/ex-ExactDivision.tex}

\chapter{同余(congruence)}
	\input{chapter/congruence.tex}
	\section{习题}
		\input{exercise/ex-congruence.tex}
		
\chapter{二次剩余(Quadratic residue)}	
	\input{chapter/QuadraResidue.tex}
	\section{习题}
		\input{exercise/ex-QuadraResidue.tex}
		
\chapter{原根与指数(primitive root and index)}
	\input{chapter/PrimitiveRoot.tex}
	\section{习题}
		\input{exercise/ex-PrimitiveRoot.tex}

\chapter{群(group)}
	\input{chapter/group.tex}

\chapter{环(ring)}
	\input{chapter/ring.tex}
	
\chapter{域(field)}	
	\input{chapter/field.tex}

\chapter{椭圆曲线(elliptic curve)}	
	\input{chapter/EllipticCurve.tex}
	
\chapter{信息论(information theory)}
	\input{chapter/InfTheory.tex}
	
\chapter{计算复杂性(Computational complexity)}	
	\input{chapter/ComputComplex.tex}

%\input{exercise/ex-all.tex}
%
%
%	
%%----------------------
%%      参考文献与附件
%%----------------------
%
\nocite{*} 

\bibliography{reference}

\appendix
\chapter{习题参考解答}
\shipoutAnswer %输出习题解答部分

\chapter{编程练习}
\input{exercise/ex-program.tex}

\chapter{特定标识说明}
\input{chapter/Denotation.tex}

\chapter{工具说明}
\input{chapter/Tools.tex}

\chapter{用到的模板}
\input{chapter/TemplateThanks.tex}

\chapter{课程中有关SageMath函数}
\input{chapter/SagemathFunc.tex}

\chapter{Latex编写格式说明}
\input{chapter/uselatex.tex}

\chapter{扩展阅读}
\input{chapter/extend-readings.tex}
\end{document}
